package com.pft.web.model.entities;

import android.graphics.Bitmap;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class PrintData {


    public PrintData() {
    }

    public PrintData(int width, int height, int type, int just, String content, boolean isBig) {
        this.width = width;
        this.height = height;
        this.type = type;
        this.just = just;
        this.content = content;
        this.isBig = isBig;
    }

    public PrintData(int width, int height, int type, int just, String content, boolean isBig, List<PrintData> printData) {
        this.width = width;
        this.height = height;
        this.type = type;
        this.just = just;
        this.content = content;
        this.isBig = isBig;
        this.printData = printData;
    }

    public int width;

    public int height;

    /**
     * 0 文字 1二维码
     */
    public int type;


    /**
     * 0 1 2  右 中 左
     */
    public int just;

    public String content;

    @SerializedName("is_big")
    public boolean isBig;

    public Bitmap bitmap;

    @SerializedName("childs")
    public List<PrintData> printData;


}
